Use PEGetNthParameterCurrentRange to retrieve a value range from the specified parameter field in a report. Use PEGetNParameterCurrentRanges, to get the number of value ranges currently associated with the parameter field. See Working with Parameter Values and Ranges.
BOOL CRPE_API PEGetNthParameterCurrentRange (
short printJob,
const char FAR *parameterFieldName,
const char FAR *reportName,
short index,
PEValueInfo FAR *rangeStart,
PEValueInfo FAR *rangeEnd,
short FAR *rangeInfo );
Specifies the print job for which you want to retrieve the parameter current range. | |
Specifies a pointer to the string containing the parameter field name. | |
Specifies a pointer to the string containing the report name. See Remarks below. | |
Specifies the index number of the value range to be retrieved. | |
Specifies a pointer to PEValueInfo, in which the beginning value in the range is returned. | |
Specifies a pointer to PEValueInfo, in which the final value in the range is returned. | |
Use this bitwise value to indicate whether the upper and/or lower bound(s) in the range should be retrieved. Use one or more of the Range Info Constants. |
Regarding parameter reportName:
Declare Function PEGetNthParameterCurrentRange Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal parameterFieldName As String, _
ByVal reportName As String, ByVal index As Integer, _
rangeStart As PEValueInfo, rangeEnd As PEValueInfo, _
ByVal rangeInfo As Integer ) As Integer
procedure PEGetNthParameterCurrentRange (
printJob: smallint;
const parameterFieldName: PChar;
const reportName: PChar;
index: smallint;
var rangeStart: PEValueInfo;
var rangeEnd: PEValueInfo;
rangeInfo: smallint
): BOOL stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |